Skip to main content

AndroidScroller

Type

object

Summary

A native Android scroller control that is used as an overlay on the part of the screen you wish to interact with the Android scrollbars.

Syntax

AndroidScroller

Description

An Android scroller control is created using a control type of "scroller".

Rather than act as a container for other controls the AndroidScroller is intended to be used as an overlay on the part of the screen you wish to interact with the proper Android scrollbars. By responding to the various AndroidScroller messages, you can move LiveCode controls or set the appropriate scroll properties of groups and fields to get a native scrolling effect.

Examples

mobileControlCreate "scroller", "name list scroller"
mobileControlCreate "scroller"
put the result into sScrollerID
mobileControlSet sScrollerID, "contentRect", (10,10,100,700)

command: mobileControlDelete, mobileControlDo, mobileControlSet, mobileControlCreate

function: mobileControlGet, mobileControlTarget

Compatibility and Support

Introduced

LiveCode 5.5.1

OS

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?